
//state

var defaultCity = '东莞';

try{
  if(localStorage.city){
    defaultCity = localStorage.city;
  }
}catch(e){
  console.log('localStorage err in vuex');
}

//state
export default {
    city: defaultCity
  }
